package com.utils;

import java.io.Serializable;

import org.springframework.beans.BeanUtils;

@SuppressWarnings("serial")
public class Employee implements Serializable{

	private Long id;

	private String account;
	
	private String userName;
	
	private String password;
	
	private Integer role;
	
	private String openId;

	public Employee() {
	}

	public Employee(Object obj) {
		BeanUtils.copyProperties(obj, this);
	}
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getAccount() {
		return account;
	}

	public void setAccount(String account) {
		this.account = account;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getOpenId() {
		return openId;
	}

	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Integer getRole() {
		return role;
	}

	public void setRole(Integer role) {
		this.role = role;
	}

}
